<link rel="stylesheet" href="/static/css/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="/static/plugins/jquery-ui/css/base/jquery-ui.min.css" />
<script type="text/javascript" src="/static/plugins/jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="/static/plugins/jquery-ui/jquery-ui.min.js"></script>
<div class="content">
    <div style="margin:20px auto; width:80%;text-align:center;">
        <table class="table table-bordered">
            <form action="{:url('manager/user/editUserIng')}" method="post">
                <input type="hidden" name="id" value="{$userinfo.id}" >
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" name="username" value="{$userinfo.username}" ></td>
                </tr>
                <tr>
                    <td>手机：</td>
                    <td><input type="text" name="phone" value="{$userinfo.mobile}" ></td>
                </tr>
                <tr>
                    <td>微信：</td>
                    <td><input type="text" name="wechat" value="{$userinfo.wechat}" ></td>
                </tr>
                <tr>
                    <td>QQ:</td>
                    <td><input type="text" name="qq" value="{$userinfo.qq}" ></td>
                </tr>
                <tr>
                    <td>身份证：</td>
                    <td><input type="text" name="idnumber" value="{$userinfo.idnumber}" ></td>
                </tr>
                <tr>
                    <td>性别：</td>
                    <td>男<input type="radio" name="gender" value="1" {$userinfo.gender == 1 ? 'checked' : '' }  >&nbsp;&nbsp;&nbsp;&nbsp;女<input type="radio" name="gender" value="2" {$userinfo.gender == 2 ? 'checked' : '' }  ></td>
                </tr>
                <tr>
                    <td>籍贯：</td>
                    <td><input type="text" name="rid_hometown" value="{$userinfo.rid_hometown}" ></td>
                </tr>
                <tr>
                    <td>现住区域：</td>
                    <td><input type="text" name="rid_living" value="{$userinfo.rid_living}" ></td>
                </tr>
                <tr>
                    <td>详细住址：</td>
                    <td><input type="text" name="address_living" value="{$userinfo.address_living}" ></td>
                </tr>
                <tr>
                    <td>生日：</td>
                    <td><input type="text" id="datepicker" name="birthday" value="{$userinfo.birthday}" ></td>
                </tr>
                <tr>
                    <td>简介：</td>
                    <td><textarea name="brief" id="" cols="70" rows="10">{$userinfo.brief}</textarea></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" value="提交"  ></td>
                </tr>
            </form>
        </table>
    </div>
</div>
<script>
    $(function(){
        $( "#datepicker" ).datepicker();
    });
</script>